package com.xh.springCloud.feign.client;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by xuhao on 2016/11/28.
 */
@RestController
public class TestController {
    @Autowired
    RestService restService;

    @RequestMapping("/test")
    public String test(){
        return restService.test();
    }
}
